#ifndef _QUESTION_H_
#define _QUESTION_H_
#include <d3dx9.h>
#include "Sprite.h"
#include "CGame.h"
#include "Object.h"
#include "Global.h"
#include "Texture.h"

#define QUESTION_GRAVITY	0.01

class Question : public Object
{
public:
	float _xPre;
	float _yPre;
	bool isMoveUp;	

public:
	Texture * _texture;
	Object * _item;
	Question(int id, float x, float y, int type, int state);
	~Question(void);
	void Render(int vpX, int vpY);
	void Update(list<Object *> *_list, float time);
	OBJECT_TYPE getObjectType();
	void changeState(int state);
};

#endif